﻿<?PHP 
//衣服
$vecTagsAll=array(
"上衣",array('衬衫',0,'T恤',0,'开衫',0,'吊带',0,'针织衫',0,'西装',0,'毛衣',0,'卫衣',0,'马甲',0,'外套',0,'大衣',0),
"裙子",array('长裙',0,'短裙',0,'连衣裙',0, 'A字裙',0,'包臀裙',0, '蓬蓬裙',0,'裙裤',0),
"长裤",array('牛仔裤',0, '铅笔裤',0,'阔腿裤',0, '喇叭裤',0, '工装裤',0, '休闲裤',0,'哈伦裤',0,'连身裤',0,'背带裤',0),
"短裤",array('短裤',0, '热裤',0,'九分裤',0,'打底裤',0),
"泳衣/家居服",array('泳衣',0,'睡衣',0,'内衣',0)
);
$k=0;

if (!isset($cl_catelog)) $cl_catelog = "";
if (!isset($cl_tag)) $cl_tag = "";
if (!isset($cl_param)) $cl_param = "";
?>
    <!-----二级 三级  开始------->
	<div class="goodsTop catalogTop">
        <div class="gsT_r rgary">
        <?PHP 
			for($k = 0; $k < count($vecTagsAll); $k+=2)
			{
		?>
            <div class="gs_key">
                <h2 class="f14"><?PHP echo $vecTagsAll[$k]; ?>：</h2>
                <ul>
                	<?PHP 
					$vecTags=$vecTagsAll[$k+1];
					for ($i=0; $i < count($vecTags); $i+=2)
					{
						$tmp = $vecTags[$i+1]==1 ? "class='hl'" : "";
						$str="<li $tmp><a title='".$vecTags[$i]."' href='../tag/?cl=".urlencode($cl_catelog)."&tag=".urlencode($vecTags[$i]).$cl_param."'>";
						if ($cl_tag==$vecTags[$i])
							$str.="<font color='#FF6600'>$vecTags[$i]</font>";
						else
							$str.=$vecTags[$i];
						$str.="</a></li>";
						echo $str;
					}
					?>
                </ul>
            </div>
            <?PHP } ?>

    	</div>
	</div>
         <!----- 二级 三级 结束------->